package com.algo.rpc.client;

public class RpcClientConfig {

    private String hostName;

    private int port;

    private long timeout;

    public RpcClientConfig(String hostName, int port, long timeout) {
        this.hostName = hostName;
        this.port = port;
        this.timeout = timeout;
    }

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public long getTimeout() {
        return timeout;
    }

    public void setTimeout(long timeout) {
        this.timeout = timeout;
    }
}
